<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8" />
<title>联通活动</title>
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<link  href="http://layui.hcwl520.com.cn/layui-v2.4.5/css/layui.css?v=201811010202" rel="stylesheet"></link>
<script type="text/javascript" src="http://layui.hcwl520.com.cn/jquery/jquery-3.3.1.min.js?v=201804251754"></script>
<script type="text/javascript" src="http://layui.hcwl520.com.cn/layui-v2.4.5/layui.all.js?v=201811010202"></script>
<script type="text/javascript" src="/js/user.js"></script>
</head>
<style></style>
<body>
	<h1 style="text-align: center;">联通517邀新人</h1>

   <div class="layui-row"  style="margin-top: 10px">
     <div class="layui-col-xs12 layui-col-md12"> 
	     <div class="layui-carousel" id="test">
		  <div carousel-item="">
			    <div style="text-align: center">芝麻流量福利站Q群 943082726</div>
		   	<div style="text-align: center">芝麻流量福利站Q群 943082726</div>
			    <div style="text-align: center">芝麻流量福利站Q群 943082726</div>
		    <div style="text-align: center">芝麻流量福利站Q群 943082726</div>
			    <div style="text-align: center">芝麻流量福利站Q群 943082726</div>
		    <div style="text-align: center">芝麻流量福利站Q群 943082726</div>
		  </div>
		</div>
     </div>
     <div class="layui-col-xs12 layui-col-md12">
     <div class="layui-form layui-form-pane" >
				<div class="layui-form-item"  >
					<label class="layui-form-label">用户名</label>
					<div class="layui-input-block">
						<input type="text"  placeholder="请输入用户名"
							autocomplete="off" class="layui-input" id="userName"  />
					</div>
						<label class="layui-form-label">天数</label>
					<div class="layui-input-block">
						<input type="text"  placeholder="请输入天数"
							autocomplete="off" class="layui-input" id="day"  />
					</div>
					<div class="layui-form-item" >
						<button class="layui-btn layui-btn-fluid" onclick="submit()">提交</button>
				</div>
				</div>
			</div>
     </div>
     <div class="layui-col-xs12 layui-col-md12">
    	<table id="demo" lay-filter="test"></table>
    	<div id="test1"></div>
    </div>
  </div>
</body>
<script type="text/html" id="indexTpl">
    {{d.LAY_TABLE_INDEX+1}}
</script>
<script type="text/html" id="barDemo">
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script>
layui.use(['carousel'], function(){
  var carousel = layui.carousel
  //图片轮播
  carousel.render({
    elem: '#test'
    ,width: '100%'
    ,height: '60px'
    ,interval: 2000
  });
});
</script>
</html>
